<!--用于修改页面，调用与添加页面相同的组件页面-->
<template>
  <massage-option :massage-data="massageInfo"></massage-option>
</template>

<script>
    import MassageOption from "@/view/massageManagement/components/massageOption";
    export default {
      name: "editMassage",
      components: {MassageOption},
      data() {
          return {
            massageInfo: {},
            isEdit: true
          }
      },
      created() {
        this.massageInfo = JSON.parse(sessionStorage.getItem('massageInfo'));
        //console.log(sessionStorage.getItem('massageInfo'))
        this.massageInfo['isEdit'] = true
      }
    }
</script>

<style scoped>

</style>
